.wine-recommendation {
  min-height: calc(100vh - 140px);
  background: #ffffff;
  padding: 24px;
  
  // 页面头部
  &-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    
    .page-title {
      margin-bottom: 8px !important;
      color: #262626;
      font-weight: 600;
      letter-spacing: -0.5px;
      
      .title-icon {
        margin-right: 12px;
        color: #1890ff;
        font-size: 32px;
        animation: pulse 2s infinite;
      }
    }
    
    .page-subtitle {
      color: #8c8c8c;
      font-size: 16px;
      font-weight: 400;
      line-height: 1.6;
    }
  }
  
  // 内容区域
  &-content {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  // 选择卡片
  .selection-card {
    margin-bottom: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    
    &:hover {
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
      transform: translateY(-2px);
    }
    
    .ant-card-head {
      border-bottom: 1px solid #f0f0f0;
      background: #fafafa;
      border-radius: 11px 11px 0 0;
      
      .ant-card-head-title {
        color: #262626;
        font-weight: 600;
        padding: 16px 0;
        
        .anticon {
          margin-right: 8px;
          color: #1890ff;
        }
      }
    }
    
    .ant-card-body {
      padding: 32px;
    }
  }
  
  // 风味选择区域
  .flavor-sections {
    .flavor-section {
      margin-bottom: 24px;
      
      .section-title {
        margin-bottom: 16px !important;
        color: #262626;
        font-weight: 600;
        font-size: 16px;
        border-left: 4px solid #1890ff;
        padding-left: 12px;
      }
      
      // 复选框组
      .flavor-checkbox-group {
        .ant-checkbox-group {
          display: grid;
          grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
          gap: 12px;
          
          .ant-checkbox-wrapper {
            background: #ffffff;
            border: 1px solid #e8e8e8;
            border-radius: 8px;
            padding: 12px 16px;
            margin: 0;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            
            &::before {
              content: '';
              position: absolute;
              top: 0;
              left: -100%;
              width: 100%;
              height: 100%;
              background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
              transition: left 0.5s ease;
              z-index: 1;
            }
            
            &:hover {
              border-color: #1890ff;
              box-shadow: 0 2px 8px rgba(24, 144, 255, 0.15);
              transform: translateY(-1px);
              
              &::before {
                left: 100%;
              }
            }
            
            &.ant-checkbox-wrapper-checked {
              background: #f6ffed;
              border-color: #52c41a;
              
              span:last-child {
                color: #389e0d;
                font-weight: 500;
              }
            }
            
            .ant-checkbox {
              margin-right: 8px;
              
              .ant-checkbox-inner {
                border-radius: 4px;
                transition: all 0.3s ease;
              }
            }
            
            span:last-child {
              color: #595959;
              font-size: 14px;
              transition: color 0.3s ease;
              position: relative;
              z-index: 2;
            }
          }
        }
      }
      
      // 单选框组
      .flavor-radio-group {
        .ant-radio-group {
          display: grid;
          grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
          gap: 12px;
          
          .ant-radio-wrapper {
            background: #ffffff;
            border: 1px solid #e8e8e8;
            border-radius: 8px;
            padding: 12px 16px;
            margin: 0;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            
            &::before {
              content: '';
              position: absolute;
              top: 0;
              left: -100%;
              width: 100%;
              height: 100%;
              background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
              transition: left 0.5s ease;
              z-index: 1;
            }
            
            &:hover {
              border-color: #1890ff;
              box-shadow: 0 2px 8px rgba(24, 144, 255, 0.15);
              transform: translateY(-1px);
              
              &::before {
                left: 100%;
              }
            }
            
            &.ant-radio-wrapper-checked {
              background: #e6f7ff;
              border-color: #1890ff;
              
              span:last-child {
                color: #1890ff;
                font-weight: 500;
              }
            }
            
            .ant-radio {
              margin-right: 8px;
            }
            
            span:last-child {
              color: #595959;
              font-size: 14px;
              transition: color 0.3s ease;
              position: relative;
              z-index: 2;
            }
          }
        }
      }
    }
  }
  
  // 操作区域
  .action-section {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 24px;
    
    .recommend-button {
      height: 56px;
      padding: 0 48px;
      font-size: 16px;
      font-weight: 600;
      border-radius: 28px;
      background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
      border: none;
      box-shadow: 0 4px 15px rgba(24, 144, 255, 0.3);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      
      &::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.6s ease;
      }
      
      &:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(24, 144, 255, 0.4);
        
        &::before {
          left: 100%;
        }
      }
      
      &:active:not(:disabled) {
        transform: translateY(0);
      }
      
      &:disabled {
        background: #f5f5f5 !important;
        color: #bfbfbf !important;
        box-shadow: none !important;
        cursor: not-allowed;
      }
      
      .anticon {
        margin-right: 8px;
        font-size: 18px;
      }
    }
  }
  
  // 结果卡片
  .result-card {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    animation: slideUp 0.5s ease-out;
    
    .ant-card-head {
      border-bottom: 1px solid #f0f0f0;
      background: #fafafa;
      border-radius: 11px 11px 0 0;
      
      .ant-card-head-title {
        color: #262626;
        font-weight: 600;
        padding: 16px 0;
        
        .anticon {
          margin-right: 8px;
          color: #52c41a;
        }
        
        .streaming-indicator {
          color: #1890ff;
          font-size: 12px;
          font-weight: 400;
          margin-left: 8px;
          animation: pulse 1.5s infinite;
        }
      }
    }
    
    .ant-card-body {
      padding: 32px;
    }
    
    // 加载状态
    .loading-container {
      text-align: center;
      padding: 60px 0;
      
      .ant-spin {
        margin-bottom: 16px;
        
        .anticon {
          color: #1890ff;
        }
      }
      
      .loading-text {
        color: #8c8c8c;
        font-size: 16px;
        animation: pulse 2s infinite;
      }
    }
    
    // 推荐内容
    .recommendation-content {
      .recommendation-text {
        color: #262626;
        line-height: 1.8;
        font-size: 15px;
        margin: 0;
        
        // 添加打字机效果的样式准备
        animation: fadeInUp 0.6s ease-out;
        
        .typing-cursor {
          color: #1890ff;
          font-weight: bold;
          animation: blink 1s infinite;
          margin-left: 2px;
        }
      }
    }
  }
}

// 动画定义
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

// 响应式设计
@media (max-width: 768px) {
  .wine-recommendation {
    padding: 16px;
    
    &-header {
      padding: 24px 16px;
      margin-bottom: 24px;
      
      .page-title {
        font-size: 24px;
        
        .title-icon {
          font-size: 24px;
        }
      }
      
      .page-subtitle {
        font-size: 14px;
      }
    }
    
    .selection-card .ant-card-body {
      padding: 20px;
    }
    
    .flavor-sections .flavor-section {
      .flavor-checkbox-group .ant-checkbox-group,
      .flavor-radio-group .ant-radio-group {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
      }
    }
    
    .action-section .recommend-button {
      width: 100%;
      height: 48px;
      font-size: 14px;
    }
    
    .result-card .ant-card-body {
      padding: 20px;
    }
  }
}

// 自定义分割线样式
.ant-divider-horizontal {
  margin: 24px 0;
  border-color: #f0f0f0;
} 